<?php

/**
 * CityBao (C)2010-2099 CityBao Inc.
 * This is NOT a freeware, use is subject to license terms
 *
 * Id: top.php 2010-9-29 15:14:17
 */
if (!defined('CITY_BAO') || !defined('CB_ADMIN')) {
    exit('Access Denied');
}

if (!in_array($action, array('index', 'left', 'top', 'main', 'manframe', 'switchframe'))) {
    $action = 'index';
}
if ($action == 'main' || $action == 'left') {
    $tpl->assign('menu_data', include CB_ROOT . 'admin/data/menu.php');
}
$tpl->assign('title', '后台管理 -CityBao System');
$tpl->display($module.'/'.$controller.'/' .$action . '.tpl');